package homework.test04;

import java.awt.desktop.AppHiddenEvent;

/*
 *
 *
 * 测试类*/
public class Test {
    public static void main(String[] args) {
        //1.创建对象存储数据
        Phone phone1 = new Phone("小米",3998,"黑色");


        //2.调用操作类,对数据进行操作
        PhoneOperator phoneOperator = new PhoneOperator(phone1);
        phoneOperator.call();
        phoneOperator.sendMeesage();

    }
}
